package com.zp.base.service;

import com.zp.base.entity.bo.ClinicScheduleBo;
import com.zp.base.entity.vo.ClinicScheduleVo;
import com.zp.common.myBatis.core.page.PageQuery;
import com.zp.common.myBatis.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 出诊安排Service接口
 *
 * @author zhang peng
 * @date 2023-01-16
 */
public interface IClinicScheduleService {

    /**
     * 查询出诊安排
     */
    ClinicScheduleVo queryById (String scheduleId);

    /**
     * 查询出诊安排列表(分页)
     */
    TableDataInfo<ClinicScheduleVo> queryPageList (ClinicScheduleBo bo, PageQuery pageQuery);

    /**
     * 查询出诊安排列表(不分页)
     */
    List<ClinicScheduleVo> queryList (ClinicScheduleBo bo);

    /**
     * 修改出诊安排
     */
    Boolean insertByBo (ClinicScheduleBo bo);

    /**
     * 修改出诊安排
     */
    Boolean updateByBo (ClinicScheduleBo bo);

    /**
     * 校验并批量删除出诊安排信息
     */
    Boolean deleteWithValidByIds (Collection<String> ids, Boolean isValid);
}
